package cyce.peer;

import java.rmi.Remote;
import java.rmi.RemoteException;

import cyce.file.Directory;

/**
 * This interface is provided by Peers to Servers
 * @author CYCE
 *
 */
public interface IServerPeer extends Remote, IPeer {
	/**
	 * This method allows the server to push new content information to the peer
	 */
	public void updateFileList(Directory root) throws RemoteException;
	
	/**
	 * This method allows the secondary server to force peers to attempt to reconnect
	 * to the primary.
	 * @throws RemoteException
	 */
	public void forceReconnect() throws RemoteException;
}
